package com.naiterui.common.repository.exception;

import org.springframework.dao.DataAccessException;

/**
 * 数据访问安全方面的异常
 *
 * @author zhouyanxin
 * @since 1.0.0
 */
public class DataAccessSafeException extends DataAccessException {

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = -3826384468096041580L;

    public DataAccessSafeException(String msg) {
        super(msg);
    }

    public DataAccessSafeException(String msg, Throwable cause) {
        super(msg, cause);
    }
}
